package org.dromara.nursing.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.nursing.domain.MsEmergency;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 紧急需求视图对象 ms_emergency
 *
 * @author Lion Li
 * @date 2025-04-23
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = MsEmergency.class)
public class MsEmergencyVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ExcelProperty(value = "ID")
    private Long id;

    /**
     * 老人姓名
     */
    @ExcelProperty(value = "老人姓名")
    private String elderName;

    /**
     * 紧急类型
     */
    @ExcelProperty(value = "紧急类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_jjlx")
    private String type;

    /**
     * 紧急程度
     */
    @ExcelProperty(value = "紧急程度", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_jjcd")
    private String level;

    /**
     * 情况描述
     */
    @ExcelProperty(value = "情况描述")
    private String description;

    /**
     * 发生地点
     */
    @ExcelProperty(value = "发生地点")
    private String location;

    /**
     * 报告时间
     */
    @ExcelProperty(value = "报告时间")
    private Date reportTime;

    /**
     * 报告人
     */
    @ExcelProperty(value = "报告人")
    private String reporter;

    /**
     * 响应时间
     */
    @ExcelProperty(value = "响应时间")
    private Date responseTime;

    /**
     * 响应人
     */
    @ExcelProperty(value = "响应人")
    private String responder;

    /**
     * 采取的行动
     */
    @ExcelProperty(value = "采取的行动")
    private String action;

    /**
     * 是否需要医疗协助
     */
    @ExcelProperty(value = "是否需要医疗协助", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_sfxyylxz")
    private String medical;

    /**
     * 是否通知家属
     */
    @ExcelProperty(value = "是否通知家属", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_sftzjs")
    private String notified;

    /**
     * 联系人姓名
     */
    @ExcelProperty(value = "联系人姓名")
    private String contactName;

    /**
     * 解决时间
     */
    @ExcelProperty(value = "解决时间")
    private Date resolveTime;

    /**
     * 后续跟进
     */
    @ExcelProperty(value = "后续跟进")
    private String followUp;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remarks;


}
